#' Recalculate RHoMIS Indicators
#'
#' R-Script to recalculate indicators. This
#' can be used to re-calculate indicators
#' using modified conversion factors.
#'
#' Make sure to have your working directory
#' set to the same directory where your RHoMIS
#' data is contained
#'
#' You will need to have the RHoMIS R-package
#' installed, this can be done with the following
#' command:
#'
#' devtools::install_github("rhomis/rhomis-R-package")
#'
#' Your directory structure should look as follows:
#'
#' - working directory/
#'     - data/
#'         - processed_data.csv
#'
#'     - conversions_stage_1/
#'         - country_to_iso2.csv
#'         -...
#'
#'     - conversions_stage_2/
#'         - crop_calories.csv
#'         -...
#'
#' If you experience any issues, please report them
#' here:
#'
#' https://github.com/RHoMIS/rhomis-support/issues


library(rhomis)

calculate_indicators_local(
    file_path="data/processed_data.csv",
    id_type = "column",
    proj_id = "id_proj",
    form_id = "id_form",
    unique_id_col = "id_unique"
)
